﻿using System.Linq;

namespace tomenglertde.SetupProject.Model
{
    public class ValueEntity : Entity
    {
        public int ValueType
        {
            get;
            set;
        }

        public string Value
        {
            get;
            set;
        }

        public override string ToString()
        {
            return "\"" + Name + "\" = \"" + ValueType + ":" + Value + "\"";
        }

        public ValueEntity Clone()
        {
            return new ValueEntity()
            {
                Name = Name,
                Value = Value,
                ValueType = ValueType
            };
        }
    }

}
